/*********************************************************
          File Name:10.35.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Mon 14 Mar 2016 08:41:25 PM CST
**********************************************************/

#include <iostream>
#include <vector>

int main()
{
    std::vector<int> vi{1, 2, 3, 4, 5};

    for(auto iter = --vi.end(); ; --iter)
    {
        std::cout << *iter << ' ';
        if(iter == vi.begin())
            break;
    }

    std::cout << '\n';
    return 0;
}
